package com.xiaoa.base;

import java.io.Serializable;
import java.util.HashMap;

/**
 * 返回对象
 * @author xiaoa
 * @date 2017年4月28日 上午10:56:49
 * @version V1.0
 *
 */
public class Response extends HashMap<String, Object> implements Serializable{

	/**
	 * @Fields serialVersionUID : 
	 * @author xiaoa
	 */
	private static final long serialVersionUID = 1L;
	
	
	public Response(){
		this.put("succ", "false");
	}
	
	public volatile boolean succ = false;
	
	public volatile String   msg = null;


	public boolean isSucc() {
		return succ;
	}

	public void setSucc(boolean succ) {
		this.put("succ", succ);
		this.succ = succ;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.put("msg", msg);
		this.msg = msg;
	}
	
	
	
	
	

}
